/* 全局样式 */
:root {
    --primary-color: #3498db;
    --hover-color: #2980b9;
    --text-color: #2c3e50;
    --bg-color: #f5f6fa;
    --card-bg: #ffffff;
    --border-color: #e1e8ed;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* 页面头部 */
.page-header {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
    color: white;
    margin-bottom: 2rem;
}

.page-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
}

.subtitle {
    margin: 0.5rem 0 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* 导航容器 */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 导航分组 */
.nav-group {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.nav-group-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-group-title {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-color);
    font-weight: 600;
}

.nav-group-count {
    font-size: 0.9rem;
    color: #666;
}

/* 导航链接 */
.nav-links {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.nav-link-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link-info {
    display: flex;
    flex-direction: column;
}

.nav-link-name {
    font-weight: 500;
    color: var(--text-color);
}

.nav-link-desc {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

.nav-link-arrow {
    color: #999;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.nav-link:hover .nav-link-arrow {
    transform: translateX(4px);
    color: var(--primary-color);
}

/* 页脚 */
.page-footer {
    text-align: center;
    padding: 2rem 1rem;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .nav-group-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-group-count {
        margin-top: 0.5rem;
    }
}
